package animais;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;

public class TelaCachorro extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;

	
	public TelaCachorro() {
		setTitle("CACHORRO");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblNome = new JLabel("Nome ");
		lblNome.setToolTipText("Nome do animal");
		lblNome.setBounds(10, 29, 46, 14);
		contentPane.add(lblNome);
		
		JLabel lblRaa = new JLabel("Ra\u00E7a");
		lblRaa.setToolTipText("Ra\u00E7a do animal");
		lblRaa.setBounds(10, 68, 46, 14);
		contentPane.add(lblRaa);
		
		JLabel lblTamanho = new JLabel("Tamanho");
		lblTamanho.setToolTipText("Tamanho do animal");
		lblTamanho.setBounds(10, 106, 61, 14);
		contentPane.add(lblTamanho);
		
		textField = new JTextField();
		textField.setBounds(60, 26, 235, 20);
		contentPane.add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(60, 65, 235, 20);
		contentPane.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(60, 103, 86, 20);
		contentPane.add(textField_2);
		textField_2.setColumns(10);
		
		JButton btnNewButton = new JButton("SOM");
		btnNewButton.setBounds(10, 162, 135, 63);
		contentPane.add(btnNewButton);
		
		JButton btnVoltar = new JButton("Voltar");
		btnVoltar.setBounds(289, 162, 135, 63);
		contentPane.add(btnVoltar);
	}
}
